Digital function fitter

ABSTRACT

A digital function fitter includes an UP/DOWN counter, a clock pulse generator, a counter counting the number of the clock pulses, a plurality of gate circuits and a Multiplexer for supplying selectively the digital outputs of the gate circuits to the UP/DOWN counter. A non-linear digital input is applied to the up-terminal of the UP/DOWN counter and the digital outputs from the gate circuits are applied to the down-terminal of the UP/DOWN counter. A linearized digital value can be obtained from the counter when the number of the non-linear digital input coincides with the digital outputs from the gate circuits.

United States Patent 1 Tanaka 1 Dec.30, 1975 [73] Assignee: Iwatsu Electric Co., Ltd., Tokyo,

Japan [22] Filed: Sept. 20, 1974 [21] Appl. No.: 507,856

[30] Foreign Application Priority Data Sept. 29, 1973 Japan... 48-110033 [52] US. Cl. 235/150.53; 235/152; 235/197; 235/92 CA [51] Int. Cl. G06F 15/34 [58] Field of Search 235/150.53, 197, 152, 156, 235/92 CP, 92 CA, 92 CT, 92 CC PULSE GENERATOR DECADE COUNTER REGISTER 3,754,235 8/1973 Dummermuth et al.... 235/150.53 X 3,824,559 7/1974 Grundy 235/197 X Primary Examiner-Joseph F Ruggiero Attorney, Agent, or FirmWoodcock, Washburn, Kurtz & Mackiewicz [57] ABSTRACT A digital function fitter includes an UP/DOWN counter, a clock pulse generator, a counter counting the number of the clock pulses, a plurality of gate circuits and a Multiplexer for supplying selectively the digital outputs of the gate circuits to the UP/DOWN counter.

A non-linear digital input is applied to the up-terminal of the UP/DOWN counter and the digital outputs from the gate circuits are applied to the down-terminal of the UP/DOWN counter. A linearized digital value can be obtained from the counter when, the number of the non-linear digital input coincides with the digital outputs from the gate circuits.

7 Claims, 5 Drawing Figures UP/DOWN COUNTER DIGITAL MULTIPLEXER COUNTER Dec. 30, 1975 Sheet 1 of 3 3,930,144

US. Patent 6 w $56M $538 .I OT E538 Kim M285 n iii a m m :w m EEEEDZ 5 2:90 5 Q R 1m 51 M mocmzww MM U33 -|||||ol z 5.

US. Patent Dec. 30, 1975 Sheet 2 of3 3,930,144

FIG.2

Dnon /l D no n( m t 0 t1 trn 1 tm+1 tM tm t FIRST COUNTER 15 I 21 DIGITAL g COMPARATOR 14 SECOND COUNTER US. Patent Dec.30,1975 Sheet30f3 3,930,144

FIG.3

DIGITAL FUNCTION FITTER BACKGROUND OF THE INVENTION 1. Field of the Invention This invention relates to a digital function fitter and more particularly to a digital function fitter employed for linearizing any non-linear characteristic.

2. Description of the Prior Art For example, thermoelectromotive force generated in a thermocouple is not perfectly proportional to the temperature to be measured by the thermocouple. In order to linearize such a non-linear relationship, an analog-type function fitter was hitherto employed which comprises diodes and amplifiers. However, there are problems of thermal drift and noise in the diodes and the amplifiers of the analog-type function fitter. And it is difficult to set small divisions in the linearizing function of the analog-type function fitter. Accordingly, very high accuracy cannot be expected for the analog-type function fitter. Moreover, it has the disadvantage that the required adjustment is very complicated.

SUMMARY OF THE INVENTION An object of this invention is to provide a digital function fitter by which any non-linear characteristic can be digitally linearized.

Another object of this invention is to provide a digital function fitter by which any non-linear characteristic can be inexpensively linearized with high accuracy.

A further object of this invention is to provide a digital function fitter which is not affected by temperature and noise.

A still further object of this invention is to provide a digital function fitter which doesnt require a complicated adjustment.

The above, and other objects, features'and advantages of the invention, will be apparent in the following detailed description of illustrative embodiment thereof which is to be read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a circuit diagram of a digital function fitter according to one embodiment of this invention;

FIG. 2 is a graph showing the relationship between non-linear digital values and linearized values;

FIG. 3 and FIG. 4 are graphs showing the relationships among the pulses in the digital function fitter when a Flip-Flop circuit is used as an N-bit shift register; and

FIG. 5 is a block diagram showing a modification of the UP/DOWN counter in FIG. 1. t

DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, an input terminal 1 is connected to an up-terminal of an UP/DOWN counter 5. A nonlinear digital input, for example, converted from the analog value correspondingto the thermoelectromotive force of the thermocouple, is applied to the input terminal 1. Output of the UP/DOWN counter 5 is applied to an AND-circuit 6. Clock pulses with frequency far'eapplied to an input terminal} of the AND-circuit 6. A pulse is applied to another input terminal 2 of the AND-circuit 6, signifying the end. of the non-linear digital input. Clock pulses with frequenciesf, f.

10f are applied to input terminals 4,, 4 4 respectively. Output of the AND-circuit 6 is applied to a decade counter 7. One output P of the decade counter 7 is applied to a pulse generator 8. The widths of different pulses from the pulse generator 8 are controlled by the output P. Another output Q of-the decade counter 7 is applied to an N-bit shift register 9 which is of series-input and parallel-output type. Output R of the shift register 9 is applied to a counter 10.

Output S of the counter 10 is applied to a digital Multiplexer 11.

M gate circuits 12 12 12 are arranged in the digital function fitter. The first gate circuit 12 the m-th gate circuit-12 and the M-th gate circuit 12 are representatively shown in FIG. 1. Each gate circuit 12 12 12 comprises N AND-circuits A (A,,,,, A A (A A and an OR-circuit B (B,,,,B Outputs of the N AND-circuits A (A A A (A,,, A are applied to N input terminalsof the OR-circuit B (B B Outputs of the gate circuits 12 ,12 12 are applied to input terminals E E E E of the digital Multiplexer 11, respectively. The clock pulses with frequenciesf, 10f, 10"f, the outputs R R R of the N-bit shift register 9, and the outputs of the pulse generator 8 are applied to three input terminals of the N AND-circuits A (A A A (A A respectively. The output terminals a a are selectively connected to the input terminals of the N AND-circuits A (A,,, ,A A (A,,, A Output of the Multiplexer 11 is supplied to the down-teriminal d of the UP/DOWN counter 5.

Next, operations of the digital function fitter according to this invention will be described with reference to FIG. 1 and FIG. 2. The non-linear digital input D is applied to the up-terminal U of the UP/DOWN counter 5 to be counted thereby. With the beginning of the counting, the output of the UP/DOWN counter 5 is put into 1" level. During the counting, the level of the input applied to the input terminal 2 is As soon as the counting of the non-linear digital input ends, a pulse with thelevel 1 is applied to the input terminal 2 to signify the end of the counting of the non-linear digital input D The output of the U P/DOWN counter 5 isstill maintained at the level 1. Accordingly, the clock pulses from the input terminal 3 are applied to the decade counter 7 preset to 0 through the AND- circuit 6. The counting outputs P and Q of the decade counter 7 are applied to the pulse generator 8 and to the N-bit shift register 9 respectively. The output R of the N-bit shift register 9 is applied to the counter I0 preset to O to be counted thereby.

.The pulses with the widths l/f, 2/f. l0/fare generated from the pulse generator 8 by the output P of the decade counter 7. According to this embodiment, M gate circuits12 .12 are provided for M broken lines-approximation. In FIG. 2, D represents the non-linear digital value of the non-linear digital input and t a linearlized digital value.

If a non-linear digital input D (t,,, At) is linearized to a linear digital value r At, the following relationship isobtaincd:

Ion-l a an increase by the m-th broken line, I, a linearized digital value at the end of the m-th broken line and At an increase from the value I which is smaller than t,,,,., r In the first gate circuit 12,, the pulses with the widths all/f, al2/f. alN/f are applied to the AND- circuits A,,, A, A from the pulse generator 8, respectively. An input pulse with l level is applied in turn to the respective one input terminals of the AND- circuits A,,, A, A, from the N-bit shift register 9. In the m-th gate circuit 12 the pulses with the widths aml/f, am2/f. amN/fare applied to the AND-circuits A A A respectively. Similarly, the input pulse with I level is applied in turn to the respective one input terminals of the AND'circuits A,,,,, A A from the N-bit shift register 9.

Till the counter 10 counts a digital value 1,, pulses are generated from the Multiplexer II through the terminal E, thereof. The number of the pulses from the gate circuit 12, is i Ion-L b which is supplied to the d-terminal of the UP/DOWN counter 5 through the Multiplexer 1 1.

Till thecounter counts a digital value t, from t,,, ,+l, pulses are generated fromthe Multiplexer 11 through the terminal E thereof. The number of the pulses from the gate circuit 12 is which is supplied to the d-terminal of the UP-DOWN counter 5 throughthe Multiplexer ll."

Moreover, till the counter I0 counts a digital value t At from t,,,+l, pulses are generated from the Multiplexer -ll through the terminal E,,,+,(not shown) thereof. The number of the pulses from. thegate circuit 12, (not shown) is a a,,,,.,.,,,,, which is supplied to the dterminal of the UP/- DOWN counter 5 through the Multiplexer 11'. Consequently, the number of the pulses,

is supplied to the d-terminal of the L'JP/DOWN counter 5. When the number of the applied pulses coincides with the non-linear digital input D,,,,,,(t,,, At), the output of the UP/DOWN counter 5 is put into 0. so that the clock pulses are not transmitted from the AND-circuit 6 to the decade counter 7. Thus, the non-linear digital input D,,,,,, (1,, A!) is linearlized to I," At. The

on-L is an integral number of two figures, a Flip-Flop circuit can be used instead of the N-bit shift register.

The case that the Flip-Flop circuit is used will be described with reference to FIG. 3 and FIG. 4, in order to deepen the understanding of this invention. The Flip-Flop circuit is considered to be a 2-bit shift register. In that case, there are provided two clock pulse input terminals 4, and 4 to which the clock pulses with the frequencies f and 10f are applied, respectively. Corresponding to the clock pulse input terminals 4, and 4 there are provided two ANDecircuits (A,,, Ag), (A A in each gate circuit 12,, 12 For example, the pulses with the widths 5/f, 2/f, 6/f and 3/f are applied to the input terminals of the AND-circuits A,,, A A and A from the pulse generator 8. The pulse with the width 10/1" or period T are generated alternately at the R, and R terminals of the Flip-Flop circuit 9 (FIG. 3). While the one pulse with the width S/f and the other pulse R, with the time interval T are applied to the input terminals of the AND-circuit A,, in the first gate circuit 12,, five pulses are supplied to the down terminal d of the UP/DOWN counter 5 through the first gate circuit 12, and the E, terminal of the Multiplexer 11 from the terminal.4,. While the one pulse with the width 2/f and the other pulse R, with the time interval T are applied to the input terminals of the AND-circuit A in the first gate circuit l2,, 2 X IO pulses aresupplied to the down terminal d of the UP/- DOWN counter 5 through the first gate circuit 12, and the E, terminal of the Multiplexer 11 from the terminal 4 Consequently, 5 20 25 pulses are supplied to the down terminal d of the UP/DOWN counter 5 through the first gate circuit 12, and the E, terminal of the Multiplexer 11. Next, the pulses are supplied to the down terminal d of the UP/DOWN counter 5 through the second gate circuit 12 and the E terminal of the Multiplexer ll changed over from the E, terminal. While the one pulse with the width 6/f and the other pulse R, with the time interval T are applied to the input terminals of the AND-circuit A in the second gate circuit 12,, six pulses are supplied to the down terminald of the UP/DOWN counter 5 through the second gate circuit I2 and the E terminal of the Multiplexer 11 from the terminal 4,. While the one pulse with the width 3/f and the other pulses R, with the time interval T are applied to the input terminals of the AND-circuit A in the second gate circuit 12 3 X 10 pulses are supplied to the down terminal d of the UP]- DOWN counter 5 through the second gate circuit 12 and the E terminal of the Multiplexer 11 from the terminal 4 Consequently, 6 30 36 pulses are supplied to the down terminal at of the UP/DOWN counter 5 5 through the second gate circuit 12 and the E terminal of the Multiplexer 11.

On the other hand, the pulse R from the Flip-Flop circuit 9 is counted by the counter 10. For example, the pulse R is equal to the above mentioned pulse R,

If 61 pulses have been supplied to the up-terminal u of the UP/DOWN counter 5 (FIG. 4-1), the number of the pulses supplied from the gate circuits 12 and 12 coincides with the number of the pulses stored in the UP/DOWN counter 5.

FIG. 4- shows the wave form of the end pulse applied to the input terminal of the AND-circuit 6. FIG. 4-III shows the wave form of the output from the UP/- DOWN counter 5 which is to put into I level with the application of the pulses to the up-terminal u of the UP/DOWN counter 5. As soon as 5 20 6 30 61 pulses are supplied to the down terminal d of the UP/- DOWN counter 5 (FIG. 4-IV), namely as soon as the number of the pulses supplied to the down terminal d of the UP/DOWN counter 5 coincides with the number of the pulses stored in the UP/DOWN counter 5, the output from the UP/DOWN counter 5 is put into level (FIG. 4-III, IV). Consequently, the clock pulses cannot pass the AND-circuit 6. Thus, the non-linear digital input to the up-terminal u of the UP/DOWN counter can be linearlized.

A counting circuit shown on FIG. 5 may be used instead of the UP/DOWN counter 5. In FIG. 3, the non-linear digital input D is applied to a first counter 13 and the output from the Multiplexer l l is applied to a second counter 14. Outputs from the first and second counters l3 and 14 are applied to a digital comparator 15. An output terminal 21 of the digital comparator is connected to one terminal of the AND-circuit 6. When the outputs from the first and second counters l3 and 14 coincide with each other, the output from the digital comparator 15 is put into 0 level from I level.

Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications may be effected therein without departing from the scope or spirit of the invention as defined in the appended claims.

What is claimed is:

1. A digital function fitter comprising: means for storing a number of input pulses; a first clock pulse generator;

means for counting the number of clock pulses;

a plurality of second clock pulse generators generating pulses different from one another in frequency; and

means for supplying clock pulses with different frequencies for predetermined intervals to said storing means,.said clock pulses ceasing to be applied by said first clock pulse generator to said counting means when the pulses supplied to said storing means coincide with a stored number of input pulses.

2. A digital function fitter according to claim 1, wherein said storing means is an UP/DOWN counter, and said counting means is a decade counter.

3. A digital function fitter according to claim I, wherein said clock pulse supplying means comprises a plurality of gate circuits, a shift register, a second pulse generator and a multiplexer.

4. A digital function fitter according to claim 2, wherein a three input terminal AND-circuit is connected between said UP/DOWN counter and said decade counter and wherein the output of said first clock pulse generator, an end pulse signifying the end of said input pulses, and the output of said UP/DOWN counter are applied to the input terminals of said AND-circuit.

5. A digital function fitter according to claim 3, wherein said shift register and said second pulse generator are operated by said means for counting the number of clock pulses.

6. A digital function fitter according to claim 3, wherein each of said gate circuits comprises a plurality of AND-circuits and one OR-circuit.

7. A digital function fitter according to claim 1, wherein said storing means comprises first and second counters, and a digital comparator.

Patent No. 930,144

Dated December 30, 1975.

Katsuaki Tanaka InvcntOfl y I 'abovc-idcntificd Patent It is certified that error appcnzs igrzrl tcd as shown below:

0' and that said Letters Pa are here y Column -2, line 42, the number ."l" should read -"l".

Q Column 2, line 45, the number, "1" should read "l"-:

Column 2, line 47, the number "0'' should read -"O".

Column 2, line 52, the number "0" should read -'fO"-.

Q Column 3, line 65, the number "0"" should read -"O".

v Column linetl4, the number "'1" should read --"l Column 5, line 22, the number "0" should read -"O".

Q Colu n 5 line 37 the number 6" should read -"O"-;'-'

same line/after "from", number 1" should read Signed and Scaled this Thirteenth Day of July 1976 [SEAL] Arrest:

RUTH C. MASON C. MARSHALL DANN 8 /17 CommissiunerofPatents and Trademarks 

1. A digital function fitter comprising: means for storing a number of input pulses; a first clock pulse generator; means for counting the number of clock pulses; a plurality of second clock pulse generators generating pulses different from one another in frequency; and means for supplying clock pulses with different frequencies for predetermined intervals to said storing means, said clock pulses ceasing to be applied by said first clock pulse generator to said counting means when the pulses supplied to said storing means coincide with a stored number of input pulses.
 2. A digital function fitter according to claim 1, wherein said storing means is an UP/DOWN counter, and said counting means is a decade counter.
 3. A digital function fitter according to claim 1, wherein said clock pulse supplying means comprises a plurality of gate circuits, a shift register, a second pulse generator and a multiplexer.
 4. A digital function fitter according to claim 2, wherein a three input terminal AND-circuit is connected between said UP/DOWN counter and said decade counter and wherein the output of said first clock pulse generator, an end pulse signifying the end of said input pulses, and the output of said UP/DOWN counter are applied to the input terminals of said AND-circuit.
 5. A digital function fitter according to claim 3, wherein said shift register and said second pulse generator are operated by said means for counting the number of clock pulses.
 6. A digital function fitter according to claim 3, wherein each of said gate circuits comprises a plurality of AND-circuits and one OR-circuit.
 7. A digital function fitter according to claim 1, wherein said storing means comprises first and second counters, and a digital comparator. 